
package cn.edu.scau.cmi.hombio.dao;

import cn.edu.scau.cmi.hombio.domain.PigHouseType;

import java.util.Set;

import org.skyway.spring.util.dao.JpaDao;

import org.springframework.dao.DataAccessException;

/**
 * DAO to manage PigHouseType entities.
 * 
 */
public interface PigHouseTypeDAO extends JpaDao<PigHouseType> {

	/**
	 * JPQL Query - findPigHouseTypeByNameContaining
	 *
	 */
	public Set<PigHouseType> findPigHouseTypeByNameContaining(String name) throws DataAccessException;

	/**
	 * JPQL Query - findPigHouseTypeByNameContaining
	 *
	 */
	public Set<PigHouseType> findPigHouseTypeByNameContaining(String name, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findPigHouseTypeByMemo
	 *
	 */
	public Set<PigHouseType> findPigHouseTypeByMemo(String memo) throws DataAccessException;

	/**
	 * JPQL Query - findPigHouseTypeByMemo
	 *
	 */
	public Set<PigHouseType> findPigHouseTypeByMemo(String memo, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findPigHouseTypeById
	 *
	 */
	public PigHouseType findPigHouseTypeById(Integer id) throws DataAccessException;

	/**
	 * JPQL Query - findPigHouseTypeById
	 *
	 */
	public PigHouseType findPigHouseTypeById(Integer id, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findPigHouseTypeByName
	 *
	 */
	public Set<PigHouseType> findPigHouseTypeByName(String name_1) throws DataAccessException;

	/**
	 * JPQL Query - findPigHouseTypeByName
	 *
	 */
	public Set<PigHouseType> findPigHouseTypeByName(String name_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findAllPigHouseTypes
	 *
	 */
	public Set<PigHouseType> findAllPigHouseTypes() throws DataAccessException;

	/**
	 * JPQL Query - findAllPigHouseTypes
	 *
	 */
	public Set<PigHouseType> findAllPigHouseTypes(int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findPigHouseTypeByMemoContaining
	 *
	 */
	public Set<PigHouseType> findPigHouseTypeByMemoContaining(String memo_1) throws DataAccessException;

	/**
	 * JPQL Query - findPigHouseTypeByMemoContaining
	 *
	 */
	public Set<PigHouseType> findPigHouseTypeByMemoContaining(String memo_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findPigHouseTypeByPrimaryKey
	 *
	 */
	public PigHouseType findPigHouseTypeByPrimaryKey(Integer id_1) throws DataAccessException;

	/**
	 * JPQL Query - findPigHouseTypeByPrimaryKey
	 *
	 */
	public PigHouseType findPigHouseTypeByPrimaryKey(Integer id_1, int startResult, int maxRows) throws DataAccessException;

}